<h1>Listing note_grades</h1>

<table>
  <tr>
    <th>User</th>
    <th>Note</th>
    <th>Evaluation</th>
  </tr>

<% for note_grade in @note_grades %>
  <tr>
    <td><%=h note_grade.user_id %></td>
    <td><%=h note_grade.note_id %></td>
    <td><%=h note_grade.evaluation %></td>
    <td><%= link_to 'Show', note_grade %></td>
    <td><%= link_to 'Edit', edit_note_grade_path(note_grade) %></td>
    <td><%= link_to 'Destroy', note_grade, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New note_grade', new_note_grade_path %>
